<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Relaciones Empresariales</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-family: Helvetica Neue, Helvetica, Arial;
	color: #131F74;
}
a:link {
	color: #131F74;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #0F238A;
}
a:hover {
	text-decoration: none;
	color: #0F238A;
}
a:active {
	text-decoration: none;
	color: #0F238A;
}
-->
</style>
</head>

<body bgcolor="#FFFFFF" text="#666666" link="#797979" vlink="#797979" alink="#797979" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form action="" method="post">{% csrf_token %}
<table width="100%" height="248" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="middle">
      <table width="800" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="{{ STATIC_URL }}top.png" width="800" height="294" /></td>
      </tr>
      <tr>
        <td align="center">
          <p style="color:#F00">{% for res in errors %}
          <b>{{ res }}</b><br/>
          {% endfor %}</p>
        </td>
      </tr>
      <tr>
      	<td align="center">
        <table width="500" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="150">Nombre:</td>
            <td><input type="text" name="nombre" id="nombre" value={{ nombres.nombre }} /></td>
          </tr>
          <tr>
            <td width="150">Apellido Paterno:</td>
            <td><input type="text" name="paterno" id="paterno" value={{ nombres.paterno }} /></td>
          </tr>
          <tr>
            <td width="150"> Apellido Materno:</td>
            <td><input type="text" name="materno" id="materno" value={{ nombres.materno }} /></td>
          </tr>
          <tr>
            <td width="150">Usuario:</td>
            <td><input type="text" name="usuario" id="usuario" value={{ nombres }} /></td>
          </tr>
          <tr>
            <td width="150">Contrase&ntilde;a:</td>
            <td><input type="password" name="contrasena" id="contrasena" value={{ nombres.contrasena }} /></td>
          </tr>
          <!--<tr>
            <td width="150">Cargo:</td>
            <td><select name="cargo" id="cargo">
            {% for responsable in tablas %}
			<option value="{{responsable.id}}">{{responsable.titulo}}</option>
			{% endfor %}
            </select></td>
          </tr>-->
        </table>
        </td>
      </tr>
      <tr>
        <td align="center">
          <p><a href="/menu"><input type="button" value="Cancelar"></a>
          <input type="submit" value="Guardar"></p>
		</td>
      </tr>
      </table>
    </td>
  </tr>
</table></form>
<div align="center"><a href="/menu"><input type="button" value="Regresar" /></a></div>
<p>&nbsp;</p>
</body>
</html>
